package com.xin.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.Version;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 处分
 * </p>
 *
 * @author l1
 * @since 2017-11-14
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
@TableName("u_student_chu_fen")
public class UStudentChuFen extends Model<UStudentChuFen> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 学生id
     */
	private String sid;
    /**
     * 处分日期
     */
	@TableField("chu_fen_ri_qi")
	private Date chuFenRiQi;
    /**
     * 处分名称
     */
	@TableField("chu_fen_ming_cheng")
	private String chuFenMingCheng;
    /**
     * 处分文号
     */
	@TableField("chu_fen_wen_hao")
	private String chuFenWenHao;
    /**
     * 处分原因
     */
	@TableField("chu_fen_yuan_yin")
	private String chuFenYuanYin;
    /**
     * 撤销处分日期
     */
	@TableField("cx_chu_fen_ri_qi")
	private Date cxChuFenRiQi;
    /**
     * 撤销处分文号
     */
	@TableField("cx_chu_fen_wen_hao")
	private String cxChuFenWenHao;
    /**
     * 审核状态
     */
	@TableField("shen_he_zhuang_tai")
	private String shenHeZhuangTai;


	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
